package com.qing.eduservice.controller;


import com.qing.eduservice.service.TPayLogService;
import com.qing.servicebase.utils.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 * 支付日志表 前端控制器
 * </p>
 *
 * @author Yjx
 * @since 2022-09-18
 */
@RestController
@RequestMapping("/eduservice/pay")
public class TPayLogController {

    @Autowired
    private TPayLogService tPayLogService;
    /**
     * 生成二维码
     *
     * @return
     */
    @GetMapping("/createNative/{orderNo}")
    public ResponseResult createNative(@PathVariable("orderNo") String orderNo) {
        return tPayLogService.createNative(orderNo);
    }

}

